package shell.view.components;

import java.awt.Color;
import java.awt.Graphics2D;
/**@author Rafael Rocha*/
public abstract class Drawable {
	
	public void drawOnScreen(Graphics2D g2D) {
		Color c = g2D.getColor();
		draw(g2D);
		g2D.setColor(c);
	}
	public abstract void draw(Graphics2D g2D);
	
	public abstract boolean isDead();
}
